package com.lanou.bean;

import java.math.BigDecimal;

public class Order {
    private Integer oid;

    private Integer uid;

    private Integer cityid;

    private String orderTel;

    private String space;

    private BigDecimal budget;

    private String appellation;

    private Integer companeyid;

    private Integer tid;

    private Type type;

    private City city;

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    @Override
    public String toString() {
        return "Order{" +
                "oid=" + oid +
                ", uid=" + uid +
                ", cityid=" + cityid +
                ", orderTel='" + orderTel + '\'' +
                ", space='" + space + '\'' +
                ", budget=" + budget +
                ", appellation='" + appellation + '\'' +
                ", companeyid=" + companeyid +
                ", tid=" + tid +
                ", type=" + type +
                '}';
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCityid() {
        return cityid;
    }

    public void setCityid(Integer cityid) {
        this.cityid = cityid;
    }

    public String getOrderTel() {
        return orderTel;
    }

    public void setOrderTel(String orderTel) {
        this.orderTel = orderTel == null ? null : orderTel.trim();
    }

    public String getSpace() {
        return space;
    }

    public void setSpace(String space) {
        this.space = space == null ? null : space.trim();
    }

    public BigDecimal getBudget() {
        return budget;
    }

    public void setBudget(BigDecimal budget) {
        this.budget = budget;
    }

    public String getAppellation() {
        return appellation;
    }

    public void setAppellation(String appellation) {
        this.appellation = appellation == null ? null : appellation.trim();
    }

    public Integer getCompaneyid() {
        return companeyid;
    }

    public void setCompaneyid(Integer companeyid) {
        this.companeyid = companeyid;
    }
}